package ai.mspbots.service.users.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.Map;

@FeignClient(name = "ms-service-task")
public interface TaskFeignClient {

    @GetMapping("/task/{id}")
    public Map<String, Object> getTask(@PathVariable(value = "id") Long id);
}
